﻿@model IEnumerable<WebVideo.EntityListVideoOfUser>
           @{
               ViewBag.Title = "Video đã xem";
}

 @{
     int dem = 0;
     foreach (var item in Model)
     {
         dem = dem + 1;
     }
   }
<div class="inner-container" id="inner-container" style="width: 8000px">
    <div class="wrap-widget">
        <div class="inner-widget _8">
            <h1>Video đã xem</h1>
            <div class="widget _2x3 phone bg-color-MediumSeaGreen">
                <div class="widget-content">
                    @Html.Action("Index", "Individual", new { Friend = @ViewBag.VideoDaXem })
                </div>
                <!--/ .widget-content-->
            </div>
            <!--/ .widget-->
            <div class="widget _6x3 phone bg-color-white">
                <div class="box-social-wrapper contScroll">
                    <div class="box-list-friend">
                        <h4><b>Bạn đã xem tất cả @dem video</b></h4>
                        @{
                            foreach (var item in Model)
                            {
                                string v = @item.EntityVideo.Image;        
                                <div class="friend-item">
                                    <div>
                                        <img src="/Content/Images/Video/@v" /><p style="font-size:11px;">@Html.ActionLink(item.EntityVideo.Name, "NView", "Index", new { IdVideo = @item.EntityVideo.Id }, null)</p>
               
                                    </div>
                                </div>
                            <!--/ .friend-item-->
                            }
                        }


                    </div>
                    <!--/ .box-list-friend-->
                </div>
                <!--/ .box-social-wrapper-->
            </div>
            <!--/ .widget-->
        </div>
        <!--/ .inner-widget-->
    </div>
    <!--/ .wrap-widget -->
</div>
<!--/ .inner-container-->

@section occasionalScripts {
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.min.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/load.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/styles.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.nicescroll.min.js")" ></script>
}

<script type="text/javascript">
    $(document).ready(function () {
        $('li#TaiKhoanCuaBan').addClass('active');
    });
    document.body.className = 'no-js'
</script>
